import AppError from './AppError.js';
import { HTTP_STATUS } from '#src/constants/http.constants.js';

class NotFoundError extends AppError {
  constructor(resource = 'Resource') {
    super(`${resource} not found`, HTTP_STATUS.NOT_FOUND);
    this.name = 'NotFoundError';
  }
}

export default NotFoundError;